projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e425f3
)
iconhelper: reset original pixbuf scale on clear
author
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 23 Jul 2014 04:27:59 +0000
(21:27 -0700)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 29 Jul 2014 08:13:21 +0000
(10:13 +0200)
Avoids a previously set value for a different image to accidentally
stick around.
https://bugzilla.gnome.org/show_bug.cgi?id=733416
gtk/gtkiconhelper.c
patch
|
blob
|
history
diff --git
a/gtk/gtkiconhelper.c
b/gtk/gtkiconhelper.c
index d2d170681f5e87b32d3c95f6332e302f71c206ce..0ee99570bab3c11e8755b2afc492eeebfe6c0e52 100644
(file)
--- a/
gtk/gtkiconhelper.c
+++ b/
gtk/gtkiconhelper.c
@@
-83,6
+83,7
@@
_gtk_icon_helper_clear (GtkIconHelper *self)
self->priv->last_rendered_state = GTK_STATE_FLAG_NORMAL;
self->priv->last_surface_state = GTK_STATE_FLAG_NORMAL;
self->priv->last_surface_scale = 0;
+ self->priv->orig_pixbuf_scale = 1;
}
void